    <%@ page language="java"  
        import="java.util.*,com.zhuozhengsoft.pageoffice.*"  
        pageEncoding="UTF-8"%>  
    <%  
        PageOfficeCtrl poCtrl = (PageOfficeCtrl) request.getAttribute("poCtrl");  
    %>  
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
    <html>  
    <head>  
    <title>最简单的打开保存Word文件</title>  
    <!-- <script type="text/javascript" >  
    function getPageOfficeJsUrl(){var d=document.URL;var c=d.substring(0,find(d,"/",3)+1);var a=d.substring(0,find(d,"/",4)+1);var f=new Array();f[0]=c;f[1]=a;for(var b=0;b<f.length;b++){var e="pageoffice.js";ajax({url:f[b]+"/pageoffice.js",type:"GET",data:{name:"super"},dataType:"json",success:function(h,k){if(d.indexOf("?")>0){d=d.substring(0,d.indexOf("?"))}var g=countChar(d.substring(f[b].length),"/");for(var i=0;i<g;i++){e="../"+e}alert('src="'+e+'"')},fail:function(g){}})}}function countChar(d,e){var b=0;for(var a=0;a<d.length;a++){if(d.charAt(a)==e){b++}}return b}function find(e,b,c){var a=0;for(var d=0;d<c;d++){a=e.indexOf(b,a+1)}return a}getPageOfficeJsUrl();function ajax(a){a=a||{};a.type=(a.type||"GET").toUpperCase();a.dataType=a.dataType||"json";var c=formatParams(a.data);if(window.XMLHttpRequest){var b=new XMLHttpRequest()}else{var b=new ActiveXObject("Microsoft.XMLHTTP")}b.onreadystatechange=function(){if(b.readyState==4){var d=b.status;if(d>=200&&d<300){a.success&&a.success(b.responseText,b.responseXML)}else{a.fail&&a.fail(d)}}};if(a.type=="GET"){b.open("GET",a.url+"?"+c,false);b.send(null)}else{if(a.type=="POST"){b.open("POST",a.url,false);b.setRequestHeader("Content-Type","application/x-www-form-urlencoded");b.send(c)}}}function formatParams(c){var a=[];for(var b in c){a.push(encodeURIComponent(b)+"="+encodeURIComponent(c[b]))}a.push(("v="+Math.random()).replace(".",""));return a.join("&")};  
    </script> -->  
    <script type="text/javascript" src="../../../../jquery.min.js"></script>  
    <script type="text/javascript" src="../../../../pageoffice.js" id="po_js_main"></script>  
    </head>  
    <body>  
        <div style="width: 100%; height: 100%;">  
            <%=poCtrl.getHtmlCode("PageOfficeCtrl1")%>  
        </div>  
<!--         <script type="text/javascript">  
            function Save() {  
                document.getElementById("PageOfficeCtrl1").WebSave();  
                POBrowser.closeWindow();//关闭POBrowser窗口  
            }  
            function ShowPrintDlg() {  
                document.getElementById("PageOfficeCtrl1").ShowDialog(4); //打印对话框  
            }  
            function SwitchFullScreen() {//全屏  
                document.getElementById("PageOfficeCtrl1").FullScreen = !document  
                        .getElementById("PageOfficeCtrl1").FullScreen;  
            }  
        </script>   -->
    </body>  
    </html>   